Log Levels
FastTransfer uses Serilog for logging and supports multiple log levels to control the verbosity of output.
You can set the loglevel using the --loglevel parameter followed by a value in the list of available log levels.
Available Log Levels
| Level | Description | Use Case |
|---|---|---|
| Debug | Detailed diagnostic information | Development and troubleshooting |
| Information | General informational messages | Normal operation (default) |
| Warning | Potentially harmful situations | Issues that don't prevent operation |
| Error | Error events that allow continuation | Operation failures |
| Critical | Severe errors causing termination | Fatal application errors |
Configuration
You can also configure the log level in the FastTransfer_settings.json file by modifying the MinimumLevel property:
{
"Serilog": {
"MinimumLevel": "Debug",
"WriteTo": [
{
"Name": "Console",
"Args": {
"outputTemplate": "{Timestamp:yyyy-MM-ddTHH:mm:ss.fff zzz} -|- {Application} -|- {runid} -|- {Level:u12} -|- {fulltargetname} -|- {Message}{NewLine}{Exception}"
}
},
{
"Name": "File",
"Args": {
"path": "Logs\\FastTransfer_.json",
"rollingInterval": "Day"
}
}
]
}
}